{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
{literal}
{/literal}
{/block}

{block name="content"}
{include file="$header_path"}
<section class="mlr10">
	  <div class="pt20 display-bl">
		  <form id="connet_form" name="connet_form" action="" method="post">
			  <div class="pos-rel display-bl">
				<div class="form_inpText">
					<input type="text" placeholder="输入无线网络账号" name="wifi-id" id="wifi-id" class="formElem" autofocus="true"/>
				</div>
				<div class="form_inpText">
					<input type="password" placeholder="输入网络密码" name="wifi-password" id="wifi-password" class="formElem" />
				</div>

				<div class="sbmBtn mt5 mb10">
					<a id="wifi-submit">连<span class="pr10em"></span>接</a>
				</div>
				<div class="mt5 mb10 h35 lh35 grey f10em text-center">
					<span>已经联网的用户请先<a onclick="" class="green text-under">清除网络</a>，再进行联网。</span>
				</div>
			  </div>

			  <input type="hidden" name="act" value="add">
		  </form>
		</div>

  </section>


<!--浮框开始-->
<div class="kuan-cont" style="display: none;">
 <div class="kuan black f16 txt_center bai text-center" id="tan"></div>
</div>
<div class="black-bg" style="display: none;"></div>
{/block}

{block name="js"}
{literal}
<script>
	$( function(){
			$('.sbmBtn a').click(function(e){
				e.preventDefault();
				$("#connet_form").submit();
			});
		});

	//弹出提示
	function tishi(){
		 $('.kuan-cont').fadeIn(1500);
		 //$('.black-bg').fadeIn(1500);
		 $('.kuan-cont').fadeOut(1500);
		 //$('.black-bg').fadeOut(1500);
	  }
</script>
{/literal}
{/block}
